package report.filter;

/**
 *
 * @author Oleh
 */
public class CustomerFilter implements ReportFilter {

    private String customer;

    public CustomerFilter(String customer) {
        this.customer = customer;
    }

    public String getPartSqlStatement() {
        return "id_customer " + (("0".equals(customer)) ? "is NULL" : " = " + customer);
    }
}
